package com.fulong.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface Usermapper {
    @Select("select id , pwd from user_baise_info where account=#{id}")
    public Map<String , Object> user_login(String id);

    @Select("update user_baise_info set pwd=#{newpwd} where account=#{id}")
    public void alterPwd(String id , String newpwd);
}
